<?php
	if(!($vars['entity']->getGUID() == get_loggedin_userid())){
		echo "<p class=\"user_menu_removefriend\"><a href=\"javascript:startSession({$vars['entity']->getGUID()});\">" . elgg_echo("elggchat:chat:profile:invite") . "</a></p>";
	}
?>